import datetime
from dataclasses import dataclass


@dataclass(frozen=True)
class UserDTO:
    id: int
    telegram_id: int
    was_registered: datetime.datetime | None = None
